A Predicative Type-Theoretic Interpretation of Objects
نویسنده
چکیده
Predicative type theories are powerful tools for giving foundational interpretations of programming languages. Due to their explicit inductive construction, predicative type theories have multiple mathematical models that provide precise de nitions of programming language features. However, not all features have predicative interpretations, and current interpretations of objects rely on impredicative type theories, such as Girard's System F, because of the di culty in specifying a type for objects in the presence of self-application. In this paper we show that objects have a predicative interpretation. We show that predicativity is associated with method monotonicity, and that binary methods prevent the inductive type construction. Our interpretation di ers from impredicative accounts by replacing the use of recursive types for objects with conditions for method polymorphism over the self type. We further give a propositional meaning to objects in the type theory, providing a calculus for formal veri cation. Our interpretation has been veri ed in the Nuprl predicative type theory.
منابع مشابه
Consistency of the minimalist foundation with Church thesis and Bar Induction
We consider a version of the minimalist foundation previously introduced to formalize predicative constructive mathematics. This foundation is equipped with two levels to meet the usual informal practice of developing mathematics in an extensional set theory (its extensional level) with the possibility of formalizing it in an intensional theory enjoying a proofs as programs semantics (its inten...
متن کاملHeyting-valued interpretations for Constructive Set Theory
The theory of locales [23] has a twofold interplay with intuitionistic mathematics: first of all, the internal logic of toposes and intuitionistic set theories provide suitable settings for the development of the theory of locales [24], and secondly, the notion of a locale determines two important forms of toposes and of interpretations for intuitionistic set theories, namely localic toposes [2...
متن کاملGame-theoretic Interpretation of Type Theory Part II: Uniqueness of Identity Proofs and Univalence
In the present paper, based on the previous work (Part I), we present a game semantics for the intensional variant of intuitionistic type theory that refutes the principle of uniqueness of identity proofs and validates the univalence axiom, though we do not interpret non-trivial higher propositional equalities. Specifically, following the historic groupoid interpretation by Hofmann and Streiche...
متن کاملType Theory and Lexical Decomposition
In this paper, I examine the relation between the type of an argument as selected by a predicate, and the role this argument subsequently plays in the computation of the sentence meaning. The thesis that I will put forth is that there is an important connection between the nature of the type that a predicate selects for as its argument, and the subsequent interpretation of the predicate in the ...
متن کاملConstructive Foundations for Featherweight Java
In this paper we present a recursion-theoretic denotational semantics for Featherweight Java. Our interpretation is based on a formalization of the object model of Castagna, Ghelli and Longo in a predicative theory of types and names. Although this theory is prooftheoretically weak, it allows to prove many properties of programs written in Featherweight Java. This underpins Feferman’s thesis th...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1997